<?php

return array(
    'Master' => array(
        array(
            'label' => 'Dashboard',
            'controller' => 'index',
            'action' => 'index',
        ),             
        array(
            'label' => 'Administration',
            'controller' => 'user',
            'action' => 'index',
            'class' => 'dir',
            'pages' => array(
                array(
                    'label' => 'Global Setting',
                    'controller' => 'translate',
                    'action' => 'globalsetting',
                ),
                array(
                    'label' => 'Email Setting',
                    'controller' => 'translate',
                    'action' => 'emailsetting',
                ),
                array(
                    'label' => 'User & Groups',
                    'controller' => 'user',
                    'action' => 'index',
                    'class' => 'dir',
                    'pages' => array(
                        array(
                            'label' => 'User',
                            'controller' => 'user',
                        ),
                        array(
                            'label' => 'Group',
                            'controller' => 'group'
                        )
                    )
                ),
                array(
                    'label' => 'Permissions',
                    'controller' => 'permission',
                    'action' => 'index',
                    'class' => 'dir',
                    'pages' => array(
                        array(
                            'label' => 'Permission List',
                            'controller' => 'permission',
                        ),
                        array(
                            'label' => 'Grant Permission',
                            'controller' => 'permission',
                            'action' => 'grant'
                        )
                    )
                ),
                array(
                    'label' => 'Translation',
                    'controller' => 'translate',
                ),
                array(
                    'label' => 'Transaction Log',
                    'controller' => 'translate',
                    'action' => 'transactionlog',
                ),
            )
        ),  
    ),
    // end of Regional menu
    'Admin' => array(
        array(
            'label' => 'Dashboard',
            'controller' => 'index',
            'action' => 'index',
        ),
        array(
            'label' => 'Persons',
            'controller' => 'student',
            'class' => 'dir',
            'pages' => array(
                array(
                    'label' => 'Students',
                    'controller' => 'student',
                    'action' => 'index'
                ),
                /* array(
                  'label' => 'Student Course',
                  'controller' => 'student',
                  'action' => 'studentcourse'
                  ),
                 */array(
                    'label' => 'Instructors',
                    'controller' => 'course',
                    'action' => 'instructor'
                ),
                array(
                    'label' => 'Relatives',
                    'controller' => 'student',
                    'action' => 'relative'
                ),
            )
        ),
//			array(
//		        	'label' => 'SMS',
//		  			'controller' => 'sms',
//					'class' => 'dir',
//		    		'pages' => array(
//
//									array(
//			    						'label' => 'SMS Message',
//			    						'controller' => 'sms',
//										'action' => 'index'
//			    					),
//
//			    					array(
//			    						'label' => 'SMS Log',
//			    						'controller' => 'sms',
//			    						'action' => 'indexlog'
//			    					),
//
//
//		    				)
//		          ),
        array(
            'label' => 'Courses',
            'controller' => 'course',
            'class' => 'dir',
            'pages' => array(
                array(
                    'label' => 'Register Attendances',
                    'controller' => 'course',
                    'action' => 'registerattendances'
                ),
            )
        ),
        array(
            'label' => 'Communication',
            'controller' => 'communication',
            'action' => 'index',
        ),
        array(
            'label' => 'Reporting',
            'controller' => 'report',
            'action' => 'studentlist',
            'class' => 'dir',
            'pages' => array(
                array(
                    'label' => 'Student list',
                    'controller' => 'report',
                    'action' => 'studentlist'
                ),
                array(
                    'label' => 'Students on course list',
                    'controller' => 'report',
                    'action' => 'studentcourse'
                ),
                array(
                    'label' => 'Course list',
                    'controller' => 'report',
                    'action' => 'courselist'
                ),
                array(
                    'label' => 'Week Schedule',
                    'controller' => 'report',
                    'action' => 'weekschedule'
                ),
                array(
                    'label' => 'Instructors on Course',
                    'controller' => 'report',
                    'action' => 'instuctorsoncourse'
                ),
                array(
                    'label' => 'Course Schedule',
                    'controller' => 'report',
                    'action' => 'courseschedule'
                ),
                array(
                    'label' => 'Exception Reports',
                    'controller' => 'report',
                    'action' => 'exceptionreport'
                ),
                array(
                    'label' => 'Quitting list',
                    'controller' => 'report',
                    'action' => 'quittinglist'
                ),
                array(
                    'label' => 'Contact Updating Report',
                    'controller' => 'report',
                    'action' => 'contactupdating'
                ),
                array(
                    'label' => 'Communication report',
                    'controller' => 'report',
                    'action' => 'communication'
                ),
            )
        ),
        array(
            'label' => 'Accounting',
            'controller' => 'site',
            'action' => 'generateinvoice',
            'pages' => array(
                array(
                    'label' => 'Generate invoice data',
                    'controller' => 'site',
                    'action' => 'generateinvoice'
                ),
                array(
                    'label' => 'Course revenue',
                    'controller' => 'site',
                    'action' => 'courserevenue'
                ),
                array(
                    'label' => 'Instructor Revenue',
                    'controller' => 'site',
                    'action' => 'instructorrevenue'
                ),
                array(
                    'label' => 'Discounts',
                    'controller' => 'site',
                    'action' => 'discountlist'
                ),
            )
        ),
        array(
            'label' => 'Inventory',
            'controller' => 'costume',
            'action' => 'index',
            'pages' => array(
                array(
                    'label' => 'Costumes',
                    'controller' => 'costume',
                    'action' => 'index'
                ),
            )
        ),
        array(
            'label' => 'Settings',
            'controller' => 'school',
            'action' => 'settingeditschool',
            'class' => 'dir',
            'pages' => array(
                array(
                    'label' => 'Persons',
                    'controller' => 'student',
                    'action' => 'relativetype',
                    'class' => 'dir',
                    'pages' => array(
                        array(
                            'label' => 'Relative Types',
                            'controller' => 'student',
                            'action' => 'relativetype'
                        ),
                        array(
                            'label' => 'Student status',
                            'controller' => 'student',
                            'action' => 'studentstatus'
                        )
                    )
                ),
                array(
                    'label' => 'Courses',
                    'controller' => 'course',
                    'action' => 'coursetype',
                    'class' => 'dir',
                    'pages' => array(
                        array(
                            'label' => 'Courses Type',
                            'controller' => 'course',
                            'action' => 'coursetype'
                        ),
                        array(
                            'label' => 'Locations',
                            'controller' => 'translate',
                            'action' => 'location'
                        )
                    )
                ),
                array(
                    'label' => 'Administrative',
                    'controller' => 'school',
                    'action' => 'settingeditschool',
                    'class' => 'dir',
                    'pages' => array(
                        array(
                            'label' => 'School Settings',
                            'controller' => 'school',
                            'action' => 'settingeditschool'
                        ),
                        array(
                            'label' => 'Salary Types',
                            'controller' => 'salary',
                            'action' => 'index'
                        ),
                        array(
                            'label' => 'Semesters',
                            'controller' => 'course',
                            'action' => 'semester'
                        ),
                        array(
                            'label' => 'Discount',
                            'controller' => 'course',
                            'action' => 'discount'
                        ),
                        array(
                            'label' => 'Accounting Settings',
                            'controller' => 'school',
                            'action' => 'accountingsettings'
                        ),
                        array(
                            'label' => 'External Access Settings',
                            'controller' => 'school',
                            'action' => 'externalaccesssetting'
                        ),
                        array(
                            'label' => 'Transfer courses wizard',
                            'controller' => 'site',
                            'action' => 'newsemesterwizard'
                        ),
                        array(
                            'label' => 'Transfer students wizard',
                            'controller' => 'site',
                            'action' => 'semesterwizardstepfour'
                        )
                    )
                ),
                array(
                    'label' => 'Communication',
                    'controller' => 'translate',
                    'action' => 'communication',
                    'class' => 'dir',
                    'pages' => array(
                        array(
                            'label' => 'Communication',
                            'controller' => 'translate',
                            'action' => 'communication'
                        ),
                    )
                ),
                array(
                    'label' => 'Inventory',
                    'controller' => 'costume',
                    'action' => 'categorylist',
                    'class' => 'dir',
                    'pages' => array(
                        array(
                            'label' => 'Costume Categories',
                            'controller' => 'costume',
                            'action' => 'categorylist'
                        ),
                    )
                ),
                array(
                    'label' => 'My account',
                    'controller' => 'user',
                    'action' => 'edit',
                ),
            )
        ),
    ),
    // end of Site Admin menu
    'User' => array(
        array(
            'label' => 'Dashboard',
            'controller' => 'index',
            'action' => 'index',
        ),
        array(
            'label' => 'Students',
            'controller' => 'student',
            'class' => 'dir',
            'pages' => array(
                array(
                    'label' => 'Students List',
                    'controller' => 'student',
                    'action' => 'list'
                ),
                array(
                    'label' => 'Relatives',
                    'controller' => 'student',
                    'action' => 'index'
                ),
            )
        ),
        array(
            'label' => 'Courses',
            'controller' => 'course',
            'action' => 'index',
        ),
        array(
            'label' => 'Communication',
            'controller' => 'communication',
            'action' => 'index',
        ),
        array(
            'label' => 'Reporting',
            'controller' => 'reporting',
            'action' => 'index',
        ),
        array(
            'label' => 'Accounting',
            'controller' => 'accounting',
            'action' => 'index',
        ),
        array(
            'label' => 'My account',
            'controller' => 'user',
            'action' => 'edit',
        ),
    ),
    // end of Site User menu

    'default' => array(
        array(
            'label' => 'Dashboard',
            'controller' => 'index',
            'action' => 'index',
        ),
        array(
            'label' => 'Battery',
            'controller' => 'battery',
            'class' => 'dir',
            'pages' => array(
                array(
                    'label' => 'Battery List',
                    'controller' => 'battery',
                    'action' => 'list'
                ),
                array(
                    'label' => 'Battery Data List',
                    'controller' => 'battery',
                    'action' => 'index'
                ),
            )
        ),
        array(
            'label' => 'Administration',
            'controller' => 'index',
            'action' => 'index',
            'class' => 'dir',
            'pages' => array(
                array(
                    'label' => 'Battery',
                    'controller' => 'index',
                    'class' => 'dir',
                    'pages' => array(
                        array(
                            'label' => 'Add Battery',
                            'controller' => 'battery',
                            'action' => 'list-add'
                        ),
                        array(
                            'label' => 'Battery Type List',
                            'controller' => 'battery',
                            'action' => 'type-list'
                        )
                    )
                ),
                array(
                    'label' => 'Sites',
                    'controller' => 'site',
                ),
                array(
                    'label' => 'Equipment',
                    'controller' => 'equipment',
                ),
                array(
                    'label' => 'Manufacturer',
                    'controller' => 'manufacturer',
                ),
                array(
                    'label' => 'User & Groups',
                    'controller' => 'user',
                    'action' => 'index',
                    'class' => 'dir',
                    'pages' => array(
                        array(
                            'label' => 'User',
                            'controller' => 'user',
                        ),
                        array(
                            'label' => 'Group',
                            'controller' => 'group'
                        )
                    )
                ),
            )
        ),
        array(
            'label' => 'Data export',
            'controller' => 'export',
            'class' => 'dir',
            'pages' => array(
                array(
                    'label' => 'Export to Excel',
                    'controller' => 'export',
                    'action' => 'excel'
                ),
            )
        ),
    ),
);

